package com.xingkeduo.model.po;

import java.math.BigDecimal;
import java.util.Date;

public class TActivity {
    /** 主键*/
    private Long id;

    /** 类型 2门店活动，3发型师活动
注：0，1已被券包占用
*/
    private Integer activityMode;

    /** 活动类型 
PAYMENT 支付活动，HELP_PAYMENT发型师代购，BYPASS_FLOW分流活动*/
    private String activityType;

    /** 活动编号*/
    private Long activityNo;

    /** 发型师ID*/
    private Long hairStyleId;

    /** 优惠方式 0 立减，1 折扣，2 特价*/
    private Integer preferentialMode;

    /** 名称*/
    private String name;

    /** 副标题，字数上限为18个汉字。*/
    private String subTitle;

    /** 此活动支持服务ids（0代表全部服务）*/
    private String supportServprodIds;

    /** 第三方业务id（只适用用券包）*/
    private String thirdBizId;

    /** 活动额度*/
    private BigDecimal activityAmount;

    /** 使用门槛,如果无起用门槛则填0。示例值:0*/
    private BigDecimal leastCost;

    /** 领取范围 (0 全部用户，1 星客多新用户，2 门店新用户)*/
    private Integer receiveType;

    /** 活动名额*/
    private Integer stockQuantity;

    /** 当前库存*/
    private Integer surplusQuantity;

    /** 活动开始时间*/
    private Date startTime;

    /** 活动结束时间*/
    private Date endTime;

    /** 每人每天使用次数，0无限制*/
    private Integer useLimitDay;

    /** 每人累计使用次数，0无限制*/
    private Integer useLimitTotal;

    /** 此活动适用门店ids（0代表全部店铺）*/
    private String storeIds;

    /** 此优惠卷使用门店名称，简写
如 只有一家门店，显示门店名称，否则显示门店数量*/
    private String storeNames;

    /** 是否与优惠券叠加 0不叠加，1叠加*/
    private Integer isOverlying;

    /** 优惠时间段:代表所有的星期的id（0周日，1周一，2周二，3周三，4周四，5周五，6周六）
代表每天的小时数字

示例： [{
	     “week”:”1,2”,
     	     “hour”:[{
			  “time_start”: “09”,
			  “time_end”:”12”
			 }…]
	   }…]*/
    private String weekHourIds;

    /** 优惠承担类型（0 按比例承担，1 按固定金额承担）*/
    private Integer preferentialUndertakeType;

    /** 门店承担金额（配合优惠承担类型使用 ）单位分：如果是比例需要转换成具体金额*/
    private BigDecimal storePreferentialUndertake;

    /** 总部承担金额 （配合优惠承担类型使用 ）单位分：如果是比例需要转换成具体金额*/
    private BigDecimal headquartersPreferentialUndertake;

    /** 成本归属方（部门）*/
    private Long departmentPostId;

    /** 部门名称*/
    private String departmentPostName;

    /** 状态--0.初始 1.已上架 2.已下架*/
    private Integer status;

    /** 申请建券人id*/
    private Long applicantId;

    /** 申请人名称*/
    private String applicantName;

    /** 创建活动用户id*/
    private Long createBy;

    /** 卡券-创建时间*/
    private Date createTime;
    
    /** 创建活动用户id*/
    private Long updateBy;
    
    /** 卡卷--修改更新时间*/
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getActivityMode() {
        return activityMode;
    }

    public void setActivityMode(Integer activityMode) {
        this.activityMode = activityMode;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType == null ? null : activityType.trim();
    }

    public Long getActivityNo() {
        return activityNo;
    }

    public void setActivityNo(Long activityNo) {
        this.activityNo = activityNo;
    }

    public Long getHairStyleId() {
        return hairStyleId;
    }

    public void setHairStyleId(Long hairStyleId) {
        this.hairStyleId = hairStyleId;
    }

    public Integer getPreferentialMode() {
        return preferentialMode;
    }

    public void setPreferentialMode(Integer preferentialMode) {
        this.preferentialMode = preferentialMode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle == null ? null : subTitle.trim();
    }

    public String getSupportServprodIds() {
        return supportServprodIds;
    }

    public void setSupportServprodIds(String supportServprodIds) {
        this.supportServprodIds = supportServprodIds == null ? null : supportServprodIds.trim();
    }

    public String getThirdBizId() {
        return thirdBizId;
    }

    public void setThirdBizId(String thirdBizId) {
        this.thirdBizId = thirdBizId == null ? null : thirdBizId.trim();
    }

    public BigDecimal getActivityAmount() {
        return activityAmount;
    }

    public void setActivityAmount(BigDecimal activityAmount) {
        this.activityAmount = activityAmount;
    }

    public BigDecimal getLeastCost() {
        return leastCost;
    }

    public void setLeastCost(BigDecimal leastCost) {
        this.leastCost = leastCost;
    }

    public Integer getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(Integer receiveType) {
        this.receiveType = receiveType;
    }

    public Integer getStockQuantity() {
        return stockQuantity;
    }

    public void setStockQuantity(Integer stockQuantity) {
        this.stockQuantity = stockQuantity;
    }

    public Integer getSurplusQuantity() {
        return surplusQuantity;
    }

    public void setSurplusQuantity(Integer surplusQuantity) {
        this.surplusQuantity = surplusQuantity;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getUseLimitDay() {
        return useLimitDay;
    }

    public void setUseLimitDay(Integer useLimitDay) {
        this.useLimitDay = useLimitDay;
    }

    public Integer getUseLimitTotal() {
        return useLimitTotal;
    }

    public void setUseLimitTotal(Integer useLimitTotal) {
        this.useLimitTotal = useLimitTotal;
    }

    public String getStoreIds() {
        return storeIds;
    }

    public void setStoreIds(String storeIds) {
        this.storeIds = storeIds == null ? null : storeIds.trim();
    }

    public String getStoreNames() {
        return storeNames;
    }

    public void setStoreNames(String storeNames) {
        this.storeNames = storeNames == null ? null : storeNames.trim();
    }

    public Integer getIsOverlying() {
        return isOverlying;
    }

    public void setIsOverlying(Integer isOverlying) {
        this.isOverlying = isOverlying;
    }

    public String getWeekHourIds() {
        return weekHourIds;
    }

    public void setWeekHourIds(String weekHourIds) {
        this.weekHourIds = weekHourIds == null ? null : weekHourIds.trim();
    }

    public Integer getPreferentialUndertakeType() {
        return preferentialUndertakeType;
    }

    public void setPreferentialUndertakeType(Integer preferentialUndertakeType) {
        this.preferentialUndertakeType = preferentialUndertakeType;
    }

    public BigDecimal getStorePreferentialUndertake() {
        return storePreferentialUndertake;
    }

    public void setStorePreferentialUndertake(BigDecimal storePreferentialUndertake) {
        this.storePreferentialUndertake = storePreferentialUndertake;
    }

    public BigDecimal getHeadquartersPreferentialUndertake() {
        return headquartersPreferentialUndertake;
    }

    public void setHeadquartersPreferentialUndertake(BigDecimal headquartersPreferentialUndertake) {
        this.headquartersPreferentialUndertake = headquartersPreferentialUndertake;
    }

    public Long getDepartmentPostId() {
        return departmentPostId;
    }

    public void setDepartmentPostId(Long departmentPostId) {
        this.departmentPostId = departmentPostId;
    }

    public String getDepartmentPostName() {
        return departmentPostName;
    }

    public void setDepartmentPostName(String departmentPostName) {
        this.departmentPostName = departmentPostName == null ? null : departmentPostName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getApplicantId() {
        return applicantId;
    }

    public void setApplicantId(Long applicantId) {
        this.applicantId = applicantId;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName == null ? null : applicantName.trim();
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}